/* Created by zhihao-su on 2019/3/14. */
.border-all {
  box-shadow: 0 0 0 1px #E7E7E7;
}

.border-bottom,
.border-top,
.border-left,
.border-right {
  position: relative;
  border: none !important;
}

.border-top:before,
.border-bottom:after,
.border-left:before,
.border-right:after {
  position: absolute;
  z-index: 10;
  content: "";
  background-color: #E7E7E7;
}

.border-top:before,
.border-bottom:after {
  right: 0;
  left: 0;
  height: 1px;
  -webkit-transform: scaleY(.5);
  transform: scaleY(.5);
}

.border-left:before,
.border-right:after {
  top: 0;
  bottom: 0;
  width: 1px;
  -webkit-transform: scaleX(.5);
  transform: scaleX(.5);
}

.border-top:before {
  top: 0;
}

.border-bottom:after {
  bottom: 0;
}

.border-left:before {
  left: 0;
}

.border-right:after {
  right: 0;
}